#pragma once
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <iomanip>

using namespace std;
#include "Vehicle.h"
class MotorCycle :
	public Vehicle
{
private:
	int wheels;
public:

	MotorCycle()
	{
		wheels = -1;
	}

	MotorCycle(string brand, int year, double purchasingPrice, double sellingPrice, int wheels)
		: Vehicle(brand, year, purchasingPrice, sellingPrice)
	{
		this->wheels = wheels;
	}

	~MotorCycle()
	{
	}

	void setWheels(int wheels){ this->wheels = wheels; }
	int getWheel(){ return wheels; }

	void print()
	{
		Vehicle::print();
		cout << ", Wheels: " << wheels;
	}
};

